<?php

namespace app\common\validate\Business;

use think\Validate;

class Source extends Validate
{
    protected $rule =   [
        'name'  => 'require|unique:business_source',
    ];

    protected $message  =   [
        'name.require' => '客户来源必填',
        'name.unique'     => '客户来源已存在，请重新输入',
    ];
}
